import {Component, OnInit} from '@angular/core';

@Component({
    selector: 'app-product-documentation',
    templateUrl: './product-documentation.component.html',
    // styleUrls: ['./product-documentation.component.less'],
})
export class ProductDocumentationComponent implements OnInit {


    constructor() {
    }

    // 文件列表数据
    fileListData = [
        {fileId: '0000000001', fileName: '操作手册2009-EN.pdf', fileSuffix: 'pdf', fileUrl: '', uploadTime: '2020-11-01 09:15:37'},
        {fileId: '0000000002', fileName: '对外开发的工艺图纸.docx', fileSuffix: 'docx', fileUrl: '', uploadTime: '2020-11-01 09:15:37'},
        {fileId: '0000000003', fileName: '操作手册2009-EN.jpg', fileSuffix: 'jpg', fileUrl: '', uploadTime: '2020-11-01 09:15:37'},
        {fileId: '0000000004', fileName: '对外开发的工艺图纸.png', fileSuffix: 'png', fileUrl: '', uploadTime: '2020-11-01 09:15:37'},
        {fileId: '0000000005', fileName: '操作手册2009.pdf', fileSuffix: 'pdf', fileUrl: '', uploadTime: '2020-11-01 09:15:37'},
    ];

    ngOnInit() {
    }

    // 接收点击list之后返回的数据
    selectFileData(data) {
        console.log('data = ', data);

    }

}
